package common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * create table school
 * (
 *     id      int auto_increment
 *         primary key,
 *     name    varchar(100) not null,
 *     address varchar(100) not null
 * );
 */
@Setter@Getter@ToString(callSuper = true)
public class school {
    @TableId(type = IdType.AUTO)
    Integer id;
    String name; //长度100
    String address;
}
